package com.dotto.atos.utils;

public class TextUtil {

	
	public static Boolean isEmpty(String str){
		return str==null || str.length()<=0;
	}
	
	public static Boolean checkMinChar(String str,int min){
		return !isEmpty(str) && str.length()>=min;
	}
	
	public static Boolean checkMaxChar(String str,int max){
		return !isEmpty(str) && str.length()<=max;
	}
	
}
